
package com.microsoft.schemas.office.project.server.webservices.resourceauthorizationdataset;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice maxOccurs="unbounded" minOccurs="0">
 *         &lt;element name="Resources">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WRES_ACCOUNT" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="RES_IS_WINDOWS_USER" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   &lt;element name="RES_PREVENT_ADSYNC" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                   &lt;element name="WRES_AD_GUID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   &lt;element name="RES_EXCHANGE_SYNC" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="SecurityPrincipleCategoryRelations">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WSEC_CAT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="CategoryPermissions">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WSEC_CAT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WSEC_FEA_ACT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WSEC_ALLOW" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                   &lt;element name="WSEC_DENY" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="GlobalPermissions">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WSEC_FEA_ACT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WSEC_ALLOW" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                   &lt;element name="WSEC_DENY" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="GroupMemberships">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="WSEC_GRP_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/choice>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "resourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions"
})
@XmlRootElement(name = "ResourceAuthorizationDataSet")
public class ResourceAuthorizationDataSet {

    @XmlElements({
        @XmlElement(name = "SecurityPrincipleCategoryRelations", type = ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelations.class),
        @XmlElement(name = "GroupMemberships", type = ResourceAuthorizationDataSet.GroupMemberships.class),
        @XmlElement(name = "GlobalPermissions", type = ResourceAuthorizationDataSet.GlobalPermissions.class),
        @XmlElement(name = "CategoryPermissions", type = ResourceAuthorizationDataSet.CategoryPermissions.class),
        @XmlElement(name = "Resources", type = ResourceAuthorizationDataSet.Resources.class)
    })
    protected List<Object> resourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions;

    /**
     * Gets the value of the resourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the resourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getResourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelations }
     * {@link ResourceAuthorizationDataSet.GroupMemberships }
     * {@link ResourceAuthorizationDataSet.GlobalPermissions }
     * {@link ResourceAuthorizationDataSet.CategoryPermissions }
     * {@link ResourceAuthorizationDataSet.Resources }
     * 
     * 
     */
    public List<Object> getResourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions() {
        if (resourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions == null) {
            resourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions = new ArrayList<Object>();
        }
        return this.resourcesOrSecurityPrincipleCategoryRelationsOrCategoryPermissions;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WSEC_CAT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WSEC_FEA_ACT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WSEC_ALLOW" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
     *         &lt;element name="WSEC_DENY" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "resuid",
        "wseccatuid",
        "wsecfeaactuid",
        "wsecallow",
        "wsecdeny"
    })
    public static class CategoryPermissions {

        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "WSEC_CAT_UID", required = true)
        protected String wseccatuid;
        @XmlElement(name = "WSEC_FEA_ACT_UID", required = true)
        protected String wsecfeaactuid;
        @XmlElement(name = "WSEC_ALLOW", defaultValue = "false")
        protected boolean wsecallow;
        @XmlElement(name = "WSEC_DENY", defaultValue = "false")
        protected boolean wsecdeny;

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the wseccatuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getWSECCATUID() {
            return wseccatuid;
        }

        /**
         * Sets the value of the wseccatuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setWSECCATUID(String value) {
            this.wseccatuid = value;
        }

        /**
         * Gets the value of the wsecfeaactuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getWSECFEAACTUID() {
            return wsecfeaactuid;
        }

        /**
         * Sets the value of the wsecfeaactuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setWSECFEAACTUID(String value) {
            this.wsecfeaactuid = value;
        }

        /**
         * Gets the value of the wsecallow property.
         * 
         */
        public boolean isWSECALLOW() {
            return wsecallow;
        }

        /**
         * Sets the value of the wsecallow property.
         * 
         */
        public void setWSECALLOW(boolean value) {
            this.wsecallow = value;
        }

        /**
         * Gets the value of the wsecdeny property.
         * 
         */
        public boolean isWSECDENY() {
            return wsecdeny;
        }

        /**
         * Sets the value of the wsecdeny property.
         * 
         */
        public void setWSECDENY(boolean value) {
            this.wsecdeny = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WSEC_FEA_ACT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WSEC_ALLOW" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
     *         &lt;element name="WSEC_DENY" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "resuid",
        "wsecfeaactuid",
        "wsecallow",
        "wsecdeny"
    })
    public static class GlobalPermissions {

        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "WSEC_FEA_ACT_UID", required = true)
        protected String wsecfeaactuid;
        @XmlElement(name = "WSEC_ALLOW", defaultValue = "false")
        protected boolean wsecallow;
        @XmlElement(name = "WSEC_DENY", defaultValue = "false")
        protected boolean wsecdeny;

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the wsecfeaactuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getWSECFEAACTUID() {
            return wsecfeaactuid;
        }

        /**
         * Sets the value of the wsecfeaactuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setWSECFEAACTUID(String value) {
            this.wsecfeaactuid = value;
        }

        /**
         * Gets the value of the wsecallow property.
         * 
         */
        public boolean isWSECALLOW() {
            return wsecallow;
        }

        /**
         * Sets the value of the wsecallow property.
         * 
         */
        public void setWSECALLOW(boolean value) {
            this.wsecallow = value;
        }

        /**
         * Gets the value of the wsecdeny property.
         * 
         */
        public boolean isWSECDENY() {
            return wsecdeny;
        }

        /**
         * Sets the value of the wsecdeny property.
         * 
         */
        public void setWSECDENY(boolean value) {
            this.wsecdeny = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WSEC_GRP_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "resuid",
        "wsecgrpuid"
    })
    public static class GroupMemberships {

        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "WSEC_GRP_UID", required = true)
        protected String wsecgrpuid;

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the wsecgrpuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getWSECGRPUID() {
            return wsecgrpuid;
        }

        /**
         * Sets the value of the wsecgrpuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setWSECGRPUID(String value) {
            this.wsecgrpuid = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WRES_ACCOUNT" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         &lt;element name="RES_IS_WINDOWS_USER" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         &lt;element name="RES_PREVENT_ADSYNC" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *         &lt;element name="WRES_AD_GUID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         &lt;element name="RES_EXCHANGE_SYNC" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "resuid",
        "wresaccount",
        "resiswindowsuser",
        "respreventadsync",
        "wresadguid",
        "resexchangesync"
    })
    public static class Resources {

        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "WRES_ACCOUNT")
        protected String wresaccount;
        @XmlElement(name = "RES_IS_WINDOWS_USER")
        protected Boolean resiswindowsuser;
        @XmlElement(name = "RES_PREVENT_ADSYNC", defaultValue = "false")
        protected Boolean respreventadsync;
        @XmlElement(name = "WRES_AD_GUID")
        protected String wresadguid;
        @XmlElement(name = "RES_EXCHANGE_SYNC")
        protected Boolean resexchangesync;

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the wresaccount property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getWRESACCOUNT() {
            return wresaccount;
        }

        /**
         * Sets the value of the wresaccount property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setWRESACCOUNT(String value) {
            this.wresaccount = value;
        }

        /**
         * Gets the value of the resiswindowsuser property.
         * 
         * @return
         *     possible object is
         *     {@link Boolean }
         *     
         */
        public Boolean isRESISWINDOWSUSER() {
            return resiswindowsuser;
        }

        /**
         * Sets the value of the resiswindowsuser property.
         * 
         * @param value
         *     allowed object is
         *     {@link Boolean }
         *     
         */
        public void setRESISWINDOWSUSER(Boolean value) {
            this.resiswindowsuser = value;
        }

        /**
         * Gets the value of the respreventadsync property.
         * 
         * @return
         *     possible object is
         *     {@link Boolean }
         *     
         */
        public Boolean isRESPREVENTADSYNC() {
            return respreventadsync;
        }

        /**
         * Sets the value of the respreventadsync property.
         * 
         * @param value
         *     allowed object is
         *     {@link Boolean }
         *     
         */
        public void setRESPREVENTADSYNC(Boolean value) {
            this.respreventadsync = value;
        }

        /**
         * Gets the value of the wresadguid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getWRESADGUID() {
            return wresadguid;
        }

        /**
         * Sets the value of the wresadguid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setWRESADGUID(String value) {
            this.wresadguid = value;
        }

        /**
         * Gets the value of the resexchangesync property.
         * 
         * @return
         *     possible object is
         *     {@link Boolean }
         *     
         */
        public Boolean isRESEXCHANGESYNC() {
            return resexchangesync;
        }

        /**
         * Sets the value of the resexchangesync property.
         * 
         * @param value
         *     allowed object is
         *     {@link Boolean }
         *     
         */
        public void setRESEXCHANGESYNC(Boolean value) {
            this.resexchangesync = value;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="RES_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="WSEC_CAT_UID" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "resuid",
        "wseccatuid"
    })
    public static class SecurityPrincipleCategoryRelations {

        @XmlElement(name = "RES_UID", required = true)
        protected String resuid;
        @XmlElement(name = "WSEC_CAT_UID", required = true)
        protected String wseccatuid;

        /**
         * Gets the value of the resuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRESUID() {
            return resuid;
        }

        /**
         * Sets the value of the resuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRESUID(String value) {
            this.resuid = value;
        }

        /**
         * Gets the value of the wseccatuid property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getWSECCATUID() {
            return wseccatuid;
        }

        /**
         * Sets the value of the wseccatuid property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setWSECCATUID(String value) {
            this.wseccatuid = value;
        }

    }

}
